<?php

namespace app\common\validate;



use think\Validate;



class Major extends Validate

{

    protected $rule = [

        'name'  => 'require',
    ];



    protected $message = [

        'name'  => '名称不能为空',

    ];



    protected $scene = [

        'add' => ['name'],

    ];

}